.class Lcom/instagram/android/creation/b/bk;
.super Ljava/lang/Object;
.source "FilterFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/creation/b/al;


# direct methods
.method constructor <init>(Lcom/instagram/android/creation/b/al;)V
    .locals 0
    .parameter

    .prologue
    .line 407
    iput-object p1, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .parameter "v"

    .prologue
    const/4 v2, 0x0

    .line 410
    iget-object v0, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    invoke-virtual {v0}, Lcom/instagram/android/creation/b/al;->getMirrorMasterTexture()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 411
    iget-object v0, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    iget-object v1, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v1}, Lcom/instagram/android/creation/b/al;->n(Lcom/instagram/android/creation/b/al;)I

    move-result v1

    add-int/lit8 v1, v1, 0x5a

    rem-int/lit16 v1, v1, 0x168

    invoke-static {v0, v1}, Lcom/instagram/android/creation/b/al;->a(Lcom/instagram/android/creation/b/al;I)I

    .line 415
    :goto_0
    iget-object v0, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    invoke-virtual {v0}, Lcom/instagram/android/creation/b/al;->getTiltShiftEnabled()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 416
    iget-object v0, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->h(Lcom/instagram/android/creation/b/al;)Lcom/instagram/creation/photo/gl/TiltShiftManager;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/creation/photo/gl/TiltShiftManager;->e()V

    .line 419
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0, v2, v2}, Lcom/instagram/android/creation/b/al;->a(Lcom/instagram/android/creation/b/al;ZZ)V

    .line 420
    iget-object v0, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v0}, Lcom/instagram/android/creation/b/al;->o(Lcom/instagram/android/creation/b/al;)Lcom/instagram/creation/photo/gl/a;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    invoke-virtual {v1}, Lcom/instagram/android/creation/b/al;->getTotalRotation()F

    move-result v1

    invoke-virtual {v0, v1}, Lcom/instagram/creation/photo/gl/a;->a(F)V

    .line 421
    return-void

    .line 413
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    iget-object v1, p0, Lcom/instagram/android/creation/b/bk;->a:Lcom/instagram/android/creation/b/al;

    invoke-static {v1}, Lcom/instagram/android/creation/b/al;->n(Lcom/instagram/android/creation/b/al;)I

    move-result v1

    add-int/lit8 v1, v1, -0x5a

    rem-int/lit16 v1, v1, 0x168

    invoke-static {v0, v1}, Lcom/instagram/android/creation/b/al;->a(Lcom/instagram/android/creation/b/al;I)I

    goto :goto_0
.end method
